package com.learn.security.config.props;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class JwtProperties {

    @Value("${jwt.token.expiration}")
    private Integer expiration;

    @Value("${jwt.token.secret}")
    private String secret;
}
